//
//  Service+ServeItem.h
//  gskin
//
//  Created by fengyn on 15/12/15.
//  Copyright © 2015年 lexingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ServiceManager.h"

///服务项目类型-上门
static NSString *kServeItemTypeGoHome=@"HOME_SERVICE";
///服务项目类型-到店
static NSString *kServeItemTypeToStore=@"IN_STORE_SERVICE";

///报考流程id
static NSString *kWebPageIdBKLC=@"710659271859113984";
///报考说明id
static NSString *kWebPageIdBKSM=@"710659491670003712";
///报考体检id
static NSString *kWebPageIdBKTJ=@"710659582996779008";
///收费标准id
static NSString *kWebPageIdSFBZ=@"710659665783951360";
///场地预览id
static NSString *kWebPageIdCDYL=@"710659775997677568";
@interface ServiceManager(ServeItem)
///根据ID获取服务详情
+ (void)getServeItemDetailInfoWithId:(NSString *)itemId success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///分页获取服务项目列表
+ (void)getAllServeItemsWithAgencyCode:(NSString *)agencyCode type:(NSString *)type pageIndex:(NSUInteger)pageIndex success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///获取上门服务类广告(首页4个特殊服务)
+ (void)getAdvertServeitemSuccess:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///常见问题
+ (void)getCommonProblemsWithSuccess:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///查询二级手术分类
+ (void)getClassInfoWithSuccess:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///根据categorycode获取详情
+ (void)getClassInfoWithCode:(NSString *)code pageIndex:(NSUInteger)pageIndex success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///根据sequenceNBR获取模板详细信息
+ (void)getTemlpateInfoWithNBR:(NSString *)NBR success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///根据id获取学车指南对应webView
+ (void)getWebViewWithId:(NSString *)Id success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

@end
